package com.meaningful.thinking.thread_pool_demo;

public class ThrowExceptionRejectHandler implements RejectHandle{

    @Override
    public void rejected(Runnable rejectCommand, MyThreadPool context) {
        throw new RuntimeException("阻塞队列满了");
    }

}
